package cn.zwx.base.constant;

/**
 * 常量
 * 
 */
public class Constant {

    /*************************redis中定义失效时间************************************/
    //10秒失效时间
    public static final int TEN_SECONDS_EXPIRE=10;
    //30秒失效时间
    public static final int THIRTY_SECONDS_EXPIRE=30;
    //58秒失效时间
    public static final int ONE_MINUTE_EXPIRE=58;
    //5分钟有效期
    public static final int FIVE_MINUTE_EXPIRE =60*5;
    //10分钟有效期
    public static final int TEN_MINUTE_EXPIRE =60*10;
    //20分钟有效期
    public static final int TWENTY_MINUTE_EXPIRE =60*20;
    //30分钟有效期
    public static final int THIRTY_MINUTE_EXPIRE =60*30;
    //60分钟有效期
    public static final int SIXTY_MINUTE_EXPIRE =60*60;
    //2小时有效期
    public static final int TWO_HOUR_EXPIRE =60*60*2;
    //5小时有效期
    public static final int FIVE_HOUR_EXPIRE =60*60*5;
    //1天失效时间
    public static final int ONE_DAY_EXPIRE=60*60*24*1;
    //2天失效时间
    public static final int TWO_DAY_EXPIRE=60*60*24*2;
    //3天失效时间
    public static final int THREE_DAY_EXPIRE=60*60*24*3;
    //4天失效时间
    public static final int FOUR_DAY_EXPIRE=60*60*24*7;
    //7天失效时间
    public static final int SEVEN_DAY_EXPIRE=60*60*24*4;
    //10天失效时间
    public static final int TEN_DAY_EXPIRE=60*60*24*10;
    //30天失效时间
    public static final int THIRTY_DAY_EXPIRE=60*60*24*30;
    //31天失效时间
    public static final int THIRTY_ONE_DAY_EXPIRE=60*60*24*31;
    //60天失效时间
    public static final int SIXTY_DAY_EXPIRE=60*60*24*60;

}
